package com.synergy.stockflow.procure.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.synergy.stockflow.procure.entity.AcceptanceOnArrival;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.synergy.stockflow.procure.mapper.PurchaseReturnsMapper;
import com.synergy.stockflow.procure.entity.PurchaseReturns;
import com.synergy.stockflow.procure.service.PurchaseReturnsService;
@Service
public class PurchaseReturnsServiceImpl extends ServiceImpl<PurchaseReturnsMapper, PurchaseReturns> implements PurchaseReturnsService{

    @Override
    public List<PurchaseReturns> selectAll(Page<PurchaseReturns> page, String purchaseReturnsId, String purchaseReturnsPurchaseOrderId, String purchaseReturnsReturnsWarehouse, String purchaseReturnsConfirm, String purchaseReturnsReturnTime, String purchaseReturnsAttn) {
        List<PurchaseReturns> purchaseReturns = baseMapper.selectAll(page, purchaseReturnsId, purchaseReturnsPurchaseOrderId, purchaseReturnsReturnsWarehouse, purchaseReturnsConfirm, purchaseReturnsReturnTime, purchaseReturnsAttn);
        return purchaseReturns;
    }
}
